package cn.vcjf.washcar.api.user.service.impl;

import cn.vcjf.washcar.api.user.entity.UserCar;
import cn.vcjf.washcar.api.user.mapper.UserCarMapper;
import cn.vcjf.washcar.api.user.service.UserCarService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户汽车表 服务实现类
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-23
 */
@Service("userCarService")
public class UserCarServiceImpl extends ServiceImpl<UserCarMapper, UserCar> implements UserCarService {

	@Override
	public void saveUserCar(UserCar userCar) {
		baseMapper.saveUserCar(userCar);
	}

	@Override
	public boolean updateUserCarById(UserCar userCar) {
		return baseMapper.updateUserCarById(userCar);
	}
}
